/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  						       progress_bar_dialog.cpp

	$Header: /game/progress_bar_dialog.cpp $

	$NoKeywords: $

 ************************************************************************/

// kill the 255+ character identifier warning.  Templates tend to exceed that easily.
#include "precompiled.h"
#pragma warning( disable: 4786 )

#include "progress_bar_dialog.h"

#include "progress_bar.h"

t_progress_bar_dialog::t_progress_bar_dialog( t_window* parent, std::string const & label )
                     : t_basic_dialog( parent )
{
	m_bar = new t_progress_bar( t_screen_point(0,0), this );
	add_display_window( m_bar, label );
	open();
}

t_progress_handler* t_progress_bar_dialog::get_handler()
{
	return m_bar;
}

